const FoodTypeDao = require('../dao/foodtype.dao.js');

exports.findAll = function (callback){
    FoodTypeDao.findAll(function(data){
        callback(data);
    });
}

exports.findById = function (id,callback){
    FoodTypeDao.findById(id,function(data){
        callback(data);
    });
}